﻿using System;
using System.Collections.Generic;
using System.Text;
using Global;

namespace EnglishLibrary
{
    public class EnglishItem
    {
        private int _itemID;

        public int ItemID
        {
            get { return _itemID; }
            set { _itemID = value; }
        }
        
        /// <summary>
        /// The types of the items, for example, Note, Vocabulary
        /// </summary>
        private string _itemTypeID;

        protected string ItemTypeID
        {
            get { return _itemTypeID; }
            set { _itemTypeID = value; }
        }

        protected string _rateID;

        public string RateID
        {
            get { return _rateID; }
            set { _rateID = value; }
        }

        protected DateTime _createdDate;

        public DateTime CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }

        protected DateTime _modifiedDate;

        public DateTime ModifiedDate
        {
            get { return _modifiedDate; }
            set { _modifiedDate = value; }
        }

        protected int _cateID;

        public int CateID
        {
            get { return _cateID; }
            set { _cateID = value; }
        }

        protected bool _isDeleted;

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }

        public EnglishItem()
        {
            this._rateID = Constant.RATE.VERY_HARD;
        }
    }
}
